import { createRouter, createWebHistory } from 'vue-router';
import HomeView from '../components/HomeView.vue';
import BookingPage from '@/components/BookingPage.vue';
import OrdersPage from '@/components/OrdersPage.vue';

const routes = [
  {
    path: '/',
    name: 'home',
    component: HomeView,
  },
  {
    path: '/booking-page',
    name: 'booking-page',
    component: BookingPage,
  },
  {
    path: '/orders-page',
    name: 'orders-page',
    component: OrdersPage, 
  }
];

const router = createRouter({
  history: createWebHistory(process.env.BASE_URL),
  routes,
});

export default router;